package com.gqmk.demo.springcloudproviderhystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication(scanBasePackages = {"com.gqmk.demo"})
@EnableEurekaClient
// 启动断路器功能
@EnableCircuitBreaker
public class SpringcloudProviderHystrixApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudProviderHystrixApplication.class, args);
    }

}
